package cn.wen.yinxiu.product.service;

import cn.wen.yinxiu.product.vo.AttrInfoVO;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.wen.yinxiu.common.toolkit.PageUtils;
import cn.wen.yinxiu.product.entity.AttrEntity;

import java.util.List;
import java.util.Map;

/**
 *
 * @ClassName: AttrService
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-22 09:55:17
 * @Description: 商品属性的Service类
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 通过商品ID 获取该商品的属性列表
     *
     * @param productId
     * @return
     */
    List<AttrInfoVO> getAttrInfoListBySkuId(Long productId);

}

